package com.ljy.my_study.commons;

import java.lang.reflect.InvocationTargetException;

import org.apache.commons.beanutils.BeanUtils;
import org.apache.commons.beanutils.BeanUtilsBean;

public class ModifyBeanUtils{
	public static void copyProperties(Object dest, Object orig)
	        throws IllegalAccessException, InvocationTargetException {
	        
	        BeanUtilsBean.getInstance().copyProperties(dest, orig);
	}
}
